package cn.bx.spring.dao;

import cn.bx.spring.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDao {
    public void add(User u){
        System.out.println(u+"增加到db中");
    }
    public boolean del(String no){
        System.out.println("准备删除"+no);
        if(no.indexOf("liu")>=0)
            return false;
        return true;
    }

}
